from django.conf.urls import url
from django.contrib import admin
from .views import huiyuan_views,index_views,wupin_views,shangpin_views

urlpatterns = [
    url(r'^$',index_views.index,name='admin_index'),
    #会员
    url(r'^zhuce/$',huiyuan_views.zhuce,name='admin_zhuce'),
    url(r'^biao/$',huiyuan_views.liebiao,name='admin_liebiao'),
    url(r'^shan/$',huiyuan_views.shan, name='admin_shan'),
    url(r'^gai/$',huiyuan_views.gai, name='admin_gai'),
    url(r'^mima/$',huiyuan_views.mima, name='admin_mima'),
    url(r'^zhuangtai/$',huiyuan_views.zhuangtai, name='admin_zhuangtai'),
    #分类
    url(r'^tian/$',wupin_views.tianjia,name='admin_tianjia'),
    url(r'^lei/$', wupin_views.fenlei, name='admin_fenlei'),
    url(r'^delcate/$',wupin_views.delcate, name='admin_delcate'),
    url(r'^editcate/$',wupin_views.editcate, name='admin_editcate'),
    #商品
    url(r'^jia/$',shangpin_views.jiahuo, name='admin_jiahuo'),
    url(r'^cheng/$',shangpin_views.chenggong, name='admin_chenggong'),
    url(r'^cha/$',shangpin_views.chakan, name='admin_chakan'),
    url(r'^gaizheng/$', shangpin_views.gaizheng, name='admin_gaizheng'),
    url(r'^shanle/$', shangpin_views.shanle, name='admin_shanle'),

    # 登录

    url(r'^logoin/$', index_views.myadminLogin, name='myadmin_login'),
    # yzm
    url(r'^verifycode/$', index_views.verifycode, name='myadmin_yzm'),
    # 退出登录
    url(r'^outlogin/$', index_views.outlogin, name='myadmin_out'),
]